﻿<!DOCTYPE html>
@*<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
</head>
<body>
    <div class="page">
        <div id="header">
            <div id="title">
                <h1>My MVC Application</h1>
            </div>
            <div id="logindisplay">
                @Html.Partial("_LogOnPartial")
            </div>
            <div id="menucontainer">
                <ul id="menu">
                    <li>@Html.ActionLink("Home", "Index", "Home")</li>
                    <li>@Html.ActionLink("About", "About", "Home")</li>
                </ul>
            </div>
        </div>
        <div id="main">
            @RenderBody()
        </div>
        <div id="footer">
        </div>
    </div>
</body>
</html>*@
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/blog.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <link title="RSD" rel="edituri" type="application/rsd+xml" href="http://localhost:63120/rsd.axd"/>
    <style type="text/css">
        
    </style>
</head>
<body>
    @Html.Partial("_TopMenuPartial")
    @Html.Partial("_QuickToolbarPartial")
    <div id="ct_Temp">
    </div>
    @Html.Partial("_BlogHeadPartial")
    <div id="ct_PageWarpper">
        <div id="ct_ContentWarpper">
            <div class="ct_LeftWarpper ">
                <div class="c_leftWidgets">
                    <fieldset>
                        <legend>About Me</legend>
                        <p>
                            Name:Flyear</p>
                        <p>
                            Location:XiAn</p>
                        <p>
                            Email:Flyear.Cheng@gmail.com</p>
                    </fieldset>
                </div>
                <div class="c_leftWidgets">
                    <div class="c_leftWidgetsTitle">
                        <span>Artical Category</span>
                    </div>
                    <ul>
                        <li>WCF(10)</li>
                        <li>NHibernate(10)</li>
                        <li>Asp.Net(10)</li>
                        <li>C#(10)</li>
                        <li>WCF(10)</li>
                        <li>NHibernate(10)</li>
                        <li>Asp.Net(10)</li>
                        <li>C#(10)</li>
                        <li>WCF(10)</li>
                        <li>NHibernate(10)</li>
                        <li>Asp.Net(10)</li>
                        <li>C#(10)</li>
                        <li>WCF(10)</li>
                        <li>NHibernate(10)</li>
                        <li>Asp.Net(10)</li>
                        <li>WCF(10)</li>
                        <li>NHibernate(10)</li>
                        <li>Asp.Net(10)</li>
                        <li>C#(10)</li>
                        <li>C#(10)</li>
                    </ul>
                </div>
                <div class="c_leftWidgets">
                    <div class="c_leftWidgetsTitle" title="Click to colleps">
                        <span class="widgets-title">ArticalByDate</span>
                    </div>
                    <div class="c_leftWidgetsContent">
                        <ol>
                            <li>Artical By Date</li>
                            <li>Artical By Date</li>
                            <li>Artical By Date</li>
                            <li>Artical By Date</li>
                            <li>Artical By Date</li>
                            @*  <asp:repeater id="repArticalByDate" runat="server">
                                <ItemTemplate>
                                    <li><a href="/<%#DataBinder.Eval( Container.DataItem,"Key")%>"><span>
                                        <%#DataBinder.Eval( Container.DataItem,"Key")%>(<%#DataBinder.Eval( Container.DataItem,"Value")%>)</span></a></li>
                                </ItemTemplate>
                            </asp:repeater>*@
                        </ol>
                    </div>
                </div>
                <div class="c_leftWidgets">
                    <div class="c_leftWidgetsTitle">
                        <span>Top 10 Lasted Articals</span>
                    </div>
                    <ul>
                        <li>Artical By Date</li>
                        <li>Artical By Date</li>
                        <li>Artical By Date</li>
                        <li>Artical By Date</li>
                        <li>Artical By Date</li>
                    </ul>
                </div>
                <div class="c_leftWidgets">
                    <div class="c_leftWidgetsTitle">
                        <span>Top 10 Lasted Comments</span>
                    </div>
                    <ul>
                        <li>Artical By Date</li>
                        <li>Artical By Date</li>
                        <li>Artical By Date</li>
                        <li>Artical By Date</li>
                        <li>Artical By Date</li>
                    </ul>
                </div>
                <div class="c_leftWidgets">
                    <div class="c_leftWidgetsTitle">
                        <span>Friendly Link</span>
                    </div>
                    <ul>
                        <li><a href="http://54min.com" />54min</a></li>
                        <li><a href="http://blogs.hibernatingrhinos.com" />Hibernating Rhinos</a></li>
                        <li><a href="http://nhforge.org/doc/nh/en">NHibernate Help(EN)</a></li>
                        <li><a href="http://knol.google.com/k/nhibernate-chapter-13-criteria-queries#">NHibernate
                            Criteria Query</a></li>
                        <li><a href="http://ayende.com/blog">Ayende Rahien</a></li>
                    </ul>
                </div>
            </div>
            <div class="ct_ArticalWarpper">
                @RenderBody()
            </div>
        </div>
    </div>
    <div id="ct_FooterLink">
    </div>
    <div id="ct_FooterWarpper">
        <hr />
        <div class="CopyRight">
            <span>© 2011-2011 LightWeb Studio</span>
        </div>
    </div>
    <script type="text/javascript">
        
    </script>
</body>
</html>
<script type="text/javascript">
    $(function () {
        $('.c_leftWidgets').find(">.c_leftWidgetsTitle")
            .addClass("widgets-open")
            .click(function () {
                $(this).toggleClass("widgets-open").toggleClass("widgets-close").next().toggle();

            }).end().find(".c_leftWidgetsContent").show();

        $("#searchSwitch").click(function () {
            //alert("leftswitch button click");
            $(".ct_searchinsite").toggleClass("hide");
        });
        $("#leftSwitch").click(function () {
            //alert("leftswitch button click");
            $(".ct_LeftWarpper").toggleClass("hide");
            $(".ct_ArticalWarpper").toggleClass("noneleftmargin");
        });
    });
</script>
